import axios from '@/utils/request';

export function getLoadButtonIsShow(params) {
    return axios.post({
        url: '/user-proposal/loadButtonIsShow',
        data: params
    }).then((res) => {
        return res
    })
}

export function getUserProposalList(params) {
    return axios.post({
        url: '/user-proposal/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function handleUserProposal(params) {
    return axios.post({
        url: '/user-proposal/handle',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteUserProposal(params) {
    return axios.post({
        url: '/user-proposal/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadUserProposal(params) {
    return axios.post({
        url: '/user-proposal/load',
        data: params
    }).then((res) => {
        return res
    })
}

